From 3becacb0801317d573688596a376ccae66c16a46 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 2 Sep 2006 20:59:39 +0000 Subject: [PATCH] Ensure that icon value doesn't float if not present. --- gpsutil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsutil.c b/gpsutil.c index 8e5e6c2bc..ee28e6cf4 100644 --- a/gpsutil.c +++ b/gpsutil.c @@ -64,6 +64,7 @@ data_read(void) char alttype; char icon[3]; waypoint *wpt_tmp; + icon[0] = 0; /* * Make sure that all waypoints in single read have same -- 2.30.2